
                <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                        <h3></h3>
                </div>
                <div class="modal-body">
                        
                                       <?php echo $this->renderPartial('_form' , array(
         
                                                                    'Activity'=>$Activity,
                                                                    'ActivityLinkSignup'=>$ActivityLinkSignup,
                                                                   // 'ActivityLinkVoteA'=>$ActivityLinkVoteA,
                                                                    'ActivityLinkVoteQ'=>$ActivityLinkVoteQ,


                                                           ),FALSE,TRUE);
                                       ?> 
                       
                </div>
                <div class="modal-footer">
                    <?php
                    echo CHtml::ajaxSubmitButton('确定对账',Yii::app()->createUrl(Yii::app()->params['adminUrl'].'/customer/cpayment'),
                                        array(

                                            'type'=>'POST',                     
                                           // 'data' => ,
                                            'beforeSend'=>'js:function(){
                                                var stime  = $("#datepicker_for_due_date").val();
                                                var etime =$("#datepicker_for_due_date1").val();

                                                if(!confirm("确定对账？日期为:"+stime+"到"+etime+""))
                                                            return false;
                                            }',
                                            'success'=>'js:function(data){ 
                                                if(data){
                                                } 
                                                else{
                                                        alert(""+data+"对账失败...程序出错!");

                                                }

                                            }',   
                                            'error'=>'js:function(){alert("对账失败!请重新选择日期");}'
                                        ),array('class'=>'btn btn-info','id'=>'Submit_payment'));
                    ?>

  

        <?php
           $this->widget('bootstrap.widgets.TbButton', array(
               'label' => 'Close',
               'url' => '#',
               'htmlOptions' => array('data-dismiss'=>'modal','id'=>'close-payment'),
           ));
           ?> 
                </div>










    